package com.Sms;

import com.UIManager.UIManager;
import com.Welcome.R;
import com.Welcome.R.layout;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;

public class SendMessageBySystem extends Activity {

	private UIManager manager = null;
	private Intent intent = null;

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.sendmessagesystem);
		manager = new UIManager(this);
		manager.getSmsSendBySystem().setOnClickListener(new OnClickListener() {

			@Override
			public void onClick(View v) {
				intent = new Intent(android.content.Intent.ACTION_VIEW);
				// intent.putExtra("sms_body", "The SMS text");
				intent.setType("vnd.android-dir/mms-sms");
				startActivity(intent);
			}
		});

	}
}
